package com.tl.boot.entity.user.enums;

/**
 * com.tl.boot.entity.user.enums -- UserStatusEnum
 * Description:
 * Created by joshua_liu <a href="mailto:joshualwork@163.com"></a>
 * On 2019/9/18 8:58
 */
public enum UserStatusEnum {
    CANCEL(0,"无效"),
    NORMAL(1,"有效"),
    FREEZE(2,"锁定"),
    ;
    private Integer code;
    private String info;

    UserStatusEnum(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
